# -*- coding: utf-8 -*-
# @Time    : 2022/1/11 9:24
# @Author  : mzp
# @Email   : 2609404548@qq.com
# @File    : login_page.py
# @Software: PyCharm

"""登录页面后准备进入日志"""

from pages.base_page import BasePage
from selenium.webdriver.common.by import By


class BgrzXg(BasePage):




    gd_locator = (By.XPATH, "/html/body/div[1]/div/div/div[2]/ul[1]/li[9]/a")
    rz_locator = (By.LINK_TEXT, "日志")





    def djgd(self):  #点击更多
        self.driver.find_element(*self.gd_locator).click()

    def djrz(self): #点击日志
        self.driver.find_element(*self.rz_locator).click()

class Djrc1(BasePage):
    rw_locator = (By.LINK_TEXT, "日程")
    def djrc(self):  #点击日程
        self.driver.find_element(*self.rw_locator).click()


